package com.fengxu.gamescript.data.po;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

public class User implements Serializable {

    private static final long serialVersionUID = 001L;

    // 用户邮箱
    @JSONField(name = "uid")
    private String email;

    // 过期时间
    private Long expire;

    // 用户角色
    private Integer role;

    // 用户信息最近更新时间
    private Long updateTime;

    // 用户剩余可访问次数
    private Integer remainTimes;

    // 用户今日是否签到
    private Boolean signIn;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getExpire() {
        return expire;
    }

    public void setExpire(Long expire) {
        this.expire = expire;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRemainTimes() {
        return remainTimes;
    }

    public void setRemainTimes(Integer remainTimes) {
        this.remainTimes = remainTimes;
    }

    public Boolean getSignIn() {
        return signIn;
    }

    public void setSignIn(Boolean signIn) {
        this.signIn = signIn;
    }

    @Override
    public String toString() {
        return "User{" +
                "email='" + email + '\'' +
                ", expire=" + expire +
                ", role=" + role +
                ", updateTime=" + updateTime +
                ", remainTimes=" + remainTimes +
                ", signIn=" + signIn +
                '}';
    }
}
